import { Global, Module, type Provider } from '@nestjs/common'

import { CronService } from './cron.service'
import { HttpRequestService } from './httpRequest.service'

//定时任务  http请求
const providers: Provider[] = [
  CronService,
  HttpRequestService
]

@Global()
@Module({
  imports: [],
  providers,
  exports: providers,
})
export class HelperModule {}
